import request from '@/utils/request'

// 查询训练详细列表
export function listRing_training_info(query) {
  return request({
    url: '/ring/ring_training_info/list',
    method: 'get',
    params: query
  })
}

// 查询训练详细详细
export function getRing_training_info(id) {
  return request({
    url: '/ring/ring_training_info/' + id,
    method: 'get'
  })
}

// 新增训练详细
export function addRing_training_info(data) {
  return request({
    url: '/ring/ring_training_info',
    method: 'post',
    data: data
  })
}

// 修改训练详细
export function updateRing_training_info(data) {
  return request({
    url: '/ring/ring_training_info',
    method: 'put',
    data: data
  })
}

// 删除训练详细
export function delRing_training_info(id) {
  return request({
    url: '/ring/ring_training_info/' + id,
    method: 'delete'
  })
}
